import { createApp } from "vue";
import { createPinia } from "pinia";

import "normalize.css";
import "element-plus/dist/index.css";

import App from "./App";
import Plugin from "@/plugin";
import router from "@/router";

const app = createApp(App);
const pinia = createPinia();
pinia.use(Plugin.piniaPlugin);
app.use(router).use(pinia).use(Plugin).mount("#sharp");
app.config.errorHandler = (err) => {
    console.log("error in:", err);
};
